package com.lp.bo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lp.bean.IotSensorInfo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; 

/**
 *@类:IotSensorInfo
 *@作者:chenrj
 */

@Data
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 
@EqualsAndHashCode(callSuper = false) 
public class IotSensorInfoBO extends IotSensorInfo {

	public IotSensorInfoBO(Integer id){
		setId(id);
	}
	
	private String device_code ;
	
	private String node_name ;
	
	private String scene_name ;
	
	private Integer scene_id ;
	
	private String iot_sensor_type_array ;
	
	private List<IotTriggerInfoBO> triggerList = new ArrayList<>();
	
	private List<historySimpleData> historyDara = new ArrayList<>();
	
	/**
	 * 储存时间
	 */
	private Date storeTime;
	
 }

